$(document).ready(function(){
    
    var dataT = $('#listeBalayage').dataTable( {
        "bAutoWidth": false,
        "bJQueryUI": true,
        "bPaginate": true,
	"bSort": true,
        "bStateSave": false,
        "sPaginationType": "full_numbers",
        "bProcessing": true,
        "bServerSide": true,
        "sAjaxSource": "balayage/list",
        "oLanguage":
        {
            "sUrl": "datatable/language"
        },
        "aoColumnDefs": [ { "bSortable": false, "aTargets": [ 2 ] } ],
        "fnInitComplete": function(oSettings, json) {
            $('#listeBalayage_filter').find(":text").qtip({
                content: $('#listeBalayage_qtip'),
                position: {
                        my: 'bottom center', 
                        at: 'top center'
                },
                show: {
                    event: 'click',
                    effect: function() {
                        $(this).stop(0, 1).fadeIn(400);
                    }
                },
                hide: {
                    event: 'unfocus',
                    effect: function() {
                        $(this).stop(0, 1).fadeOut(400);
                    }
                },
                style: { 
                        tip: true,
                        classes: 'ui-tooltip-blue ui-tooltip-shadow ui-tooltip-rounded'
                }
            });    
        }
   });
   
});
